{subtemplate jameson_read:163/read_header}
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div uk-grid class="uk-grid-collapse uk-margin-top relative none jamesonread_lazyload">
	<div class="uk-width-medium">
		<div class="topleftnav">
			{eval $rootcount=0;}
        	<!--{loop $categorys $rootkey $root}-->
        	{if $rootcount < 3}
        	{eval $rootcount++;}
	            <div class="top_rootcate {if count($root['sub'])>8}hashidden{/if}">
	            	<h4 class="cl">
	                	<a href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$root['category_id']);}" class="z"><!--{$root['category_name']}--></a>
						<span class="xg1 xs1 xw0 y" uk-icon="icon:chevron-right"></span>
	            	</h4>
					<div class="top_a">
		            	<!--{loop $root['sub_category_id'] $key $value}-->
		            	{if $key < 8}
		            		{if $key==4}
							</div><div class="top_a">
		            		{/if}
							<a class="" href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$root['sub'][$value]['category_id']);}">
		                    <!--{$root['sub'][$value]['category_name']}-->
		                	</a>
		                {/if}
		                <!--{/loop}-->
	                </div>
	                {if count($root['sub']) > 8}
					<div class="hiddensubcate">
						<h4 class="cl">&nbsp;</h4>
						<div class="top_a">
		            	<!--{loop $root['sub_category_id'] $key $value}-->
		            	{if $key > 7}
							<a class="" href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$root['sub'][$value]['category_id']);}">
		                    <!--{$root['sub'][$value]['category_name']}-->
		                	</a>
		                {/if}
		                <!--{/loop}-->
		                </div>
					</div>
					{/if}
	            </div>
            {/if}
            {/loop}
		</div>
	</div>
	<div class="uk-width-expand uk-inline uk-visible-toggle uk-margin-left">
		<div class="jameson_read_flash" id="jameson_read_flash">
			<ul class="uk-margin-remove uk-padding-remove">
			    <!--{loop $images $key $m}-->
			    <li class="">
			    	<div class="relative" style="height: 320px;overflow-y: hidden;">
			    	    <a href="{$m[1]}"><img style="width: 100%;" src="{$m[0]}" alt=""></a>
			    	    <div class="uk-overlay uk-light uk-position-bottom">
			    	        <h3><!--{$m[2]}--><span class="xw0 xs2 ml8">{$m[3]}</span></h3>
			    	    </div>
			    	</div>
			    </li>
			    <!--{/loop}-->
			</ul>
		</div>
	</div>
</div>


<div class="uk-margin-top zhubiantuijian">
	<div class="zhubiaoti cl pt10 ml10">
		{lang jameson_read:zhubiantuijian}
		<ul class="uk-margin-remove uk-padding-remove cl uk-inline ml10" uk-tab="connect:.uk-switcher">
			<li class="z uk-active"><a href="javascript:;">{lang jameson_read:jingxuan}</a></li>
			<li class="z"><a href="javascript:;">{lang jameson_read:yuedubang}</a></li>
			<li class="z"><a href="javascript:;">{lang jameson_read:shoucangbang}</a></li>
			<li class="z"><a href="javascript:;">{lang jameson_read:haopingbang}</a></li>
		</ul>
	</div>
	<div class="uk-switcher mt10 uk-border-e6">
		<div class="uk-grid-collapse uk-child-width-1-4" uk-grid>
			{loop $paihangbang['tuijian'] $key $book}
			{if $key < 4}
				<div class="bigsuoluetu  uk-padding-small cl">
					<div class="z mr10 uk-width-100">
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">
							<img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
						</a>
					</div>
					<div class="">
						<div class="bookname uk-text-truncate"><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></div>
						<p class="mt5 mb5 xs1 xg1 uk-text-truncate"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a></p>
						<p class="desco">{if $book['desco']}{$book['desco']}{else}{lang jameson_read:haimeiyoudesco}{/if}</p>
					</div>
					
				</div>
			{/if}
			{/loop}
		</div>
		<div class="uk-grid-collapse uk-child-width-1-4" uk-grid>
			{loop $paihangbang['yuedu'] $key $book}
			{if $key < 4}
				<div class="bigsuoluetu  uk-padding-small cl">
					<div class="z mr10 uk-width-100">
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">
							<img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
						</a>
					</div>
					<div class="">
						<div class="bookname uk-text-truncate"><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></div>
						<p class="mt5 mb5 xs1 xg1 uk-text-truncate"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a></p>
						<p class="desco">{if $book['desco']}{$book['desco']}{else}{lang jameson_read:haimeiyoudesco}{/if}</p>
					</div>
					
				</div>
			{/if}
			{/loop}
		</div>
		<div class="uk-grid-collapse uk-child-width-1-4" uk-grid>
			{loop $paihangbang['shoucang'] $key $book}
			{if $key < 4}
				<div class="bigsuoluetu  uk-padding-small cl">
					<div class="z mr10 uk-width-100">
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">
							<img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
						</a>
					</div>
					<div class="">
						<div class="bookname uk-text-truncate"><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></div>
						<p class="mt5 mb5 xs1 xg1 uk-text-truncate"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a></p>
						<p class="desco">{if $book['desco']}{$book['desco']}{else}{lang jameson_read:haimeiyoudesco}{/if}</p>
					</div>
					
				</div>
			{/if}
			{/loop}
		</div>
		<div class="uk-grid-collapse uk-child-width-1-4" uk-grid>
			{loop $paihangbang['haoping'] $key $book}
			{if $key < 4}
				<div class="bigsuoluetu  uk-padding-small cl">
					<div class="z mr10 uk-width-100">
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">
							<img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
						</a>
					</div>
					<div class="">
						<div class="bookname uk-text-truncate"><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></div>
						<p class="mt5 mb5 xs1 xg1 uk-text-truncate"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a></p>
						<p class="desco">{if $book['desco']}{$book['desco']}{else}{lang jameson_read:haimeiyoudesco}{/if}</p>
					</div>
				</div>
			{/if}
			{/loop}
		</div>
	</div>
</div>

<!--{if $indexadv[0]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[0]['adv']);}-->
</div>
<!--{/if}-->

{loop $categorys $pid $root}
{if $root['tuijian']}
<div class="uk-margin-top zhubiantuijian category_booklist">
	<div class="zhubiaoti ml10 cl">
		<a href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$root['category_id']);}">{$root['category_name']}</a>
		<ul class="uk-tab uk-inline uk-margin-remove uk-padding-remove ml10">
			{loop $root['sub_category_id'] $k $cid}
			{if $k < 5}
			<li class="z uk-padding-remove uk-margin-remove"><a href="{eval echo jamesonurl('shaixuan','shaixuan','category_id',$root['sub'][$cid]['category_id']);}">{$root['sub'][$cid]['category_name']}</a></li>
			{/if}
			{/loop}
		</ul>
	</div>
	<div class="uk-grid-collapse mt10" uk-grid>
		<div class="uk-width-expand">
			<div class="uk-border-e6">
			<div class="uk-grid-collapse uk-child-width-1-3" uk-grid>
			{loop $root['tuijian'] $key $book}
			{if $key < 6}
			<div class="bigsuoluetu  uk-padding-small cl">
				<div class="z mr10 uk-width-100">
					<a href="{eval echo jamesonurl('book',$book['book_id']);}">
						<img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
					</a>
				</div>
				<div class="">
					<div class="bookname uk-text-truncate"><a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a></div>
					<p class="mt5 mb5 xs1 xg1 uk-text-truncate"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a></p>
					<p class="desco">{if $book['desco']}{$book['desco']}{else}{lang jameson_read:haimeiyoudesco}{/if}</p>
				</div>
				
			</div>
			{/if}
			{/loop}
			</div>
			</div>
		</div>
		<div class="uk-width-medium">
			<ul class="uk-list uk-list-paihang uk-border-e6 uk-margin-left uk-padding-remove">
				{loop $root['tuijian'] $key $book}
					{if $key == 6}
					<li class="tuline cl">
						<span class="z mr10 xs3">1</span>
						<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
						<div>
							<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
							<p>
							<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
							</p>
						</div>
					</li>
					{elseif $key > 6 && $key < 12}
					<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key-5;}</span>{$book['book_name']}</a></li>
					{/if}
				{/loop}
			</ul>
		</div>
	</div>
</div>
{/if}
{/loop}

<!--{if $indexadv[1]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[1]['adv']);}-->
</div>
<!--{/if}-->

{if $topics[0]['books']}
<div class="uk-margin-top uk-grid-collapse zhuantiwrap" uk-grid>
	<div class="uk-width-expand">
		<div class="zhubiaoti pl10">
			{$topics[0]['name']}
			<span class="uk-inline ml10 xs1 xg1 uk-text-truncate">{$topics[0]['descro']}</span>
		</div>
		<div class="uk-border-e6 uk-margin-top uk-padding-small">
			<div class="uk-grid-collapse uk-child-width-1-5" uk-grid>
				{loop $topics[0]['books'] $k $book}
				{if $k < 10}
					<div class=" pt10 pb10 uk-text-center">
						<a class="imgwrap" href="{eval echo jamesonurl('book',$book['book_id']);}"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}"></a>
						<a class="bookname" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						<a class="author xg1 xs1 xw0" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
					</div>

				{/if}
				{/loop}
			</div>
		</div>
	</div>
	<div class="uk-width-medium uk-margin-left">
		<div class="zhubiaoti pl10">
			{lang jameson_read:changxiaobang}
		</div>
		<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove">
			{loop $paihangbang['update'] $key $book}
				{if !$key}
				<li class="tuline cl">
					<span class="z mr10 xs3">1</span>
					<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
					<div>
						<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						<p>
						<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
						</p>
					</div>
				</li>
				{elseif $key < 8}
				<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
				{/if}
			{/loop}
		</ul>
	</div>
</div>
{/if}

<!--{if $indexadv[2]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[2]['adv']);}-->
</div>
<!--{/if}-->


{if $topics[1]['books']}
<div class="uk-margin-top uk-grid-collapse zhuantiwrap" uk-grid>
	<div class="uk-width-expand">
		<div class="zhubiaoti pl10">
			{$topics[1]['name']}
			<span class="uk-inline ml10 xs1 xg1 uk-text-truncate">{$topics[1]['descro']}</span>
		</div>
		<div class="uk-border-e6 uk-margin-top uk-padding-small">
			<div class="uk-grid-collapse uk-child-width-1-5" uk-grid>
				{loop $topics[1]['books'] $k $book}
				{if $k < 10}
					<div class=" pt10 pb10 uk-text-center">
						<a class="imgwrap" href="{eval echo jamesonurl('book',$book['book_id']);}"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}"></a>
						<a class="bookname" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						<a class="author xg1 xs1 xw0" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
					</div>
				{/if}
				{/loop}
			</div>
		</div>
	</div>
	<div class="uk-width-medium uk-margin-left">
		<div class="zhubiaoti pl10">
			{lang jameson_read:xinshubang}
		</div>
		<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove">
			{loop $paihangbang['zuixin'] $key $book}
				{if !$key}
				<li class="tuline cl">
					<span class="z mr10 xs3">1</span>
					<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
					<div>
						<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						<p>
						<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
						</p>
					</div>
				</li>
				{elseif $key < 8}
				<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
				{/if}
			{/loop}
		</ul>
	</div>
</div>
{/if}


{if $topics[2]['books']}
<div class="uk-margin-top uk-grid-collapse zhuantiwrap" uk-grid>
	<div class="uk-width-expand">
		<div class="zhubiaoti pl10">
			{$topics[2]['name']}
			<span class="uk-inline ml10 xs1 xg1 uk-text-truncate">{$topics[2]['descro']}</span>
		</div>
		<div class="uk-border-e6 uk-margin-top uk-padding-small">
			<div class="uk-grid-collapse uk-child-width-1-5" uk-grid>
				{loop $topics[2]['books'] $k $book}
				{if $k < 10}
					<div class=" pt10 pb10 uk-text-center">
						<a class="imgwrap" href="{eval echo jamesonurl('book',$book['book_id']);}"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}"></a>
						<a class="bookname" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						<a class="author xg1 xs1 xw0" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
					</div>
				{/if}
				{/loop}
			</div>
		</div>
	</div>
	<div class="uk-width-medium uk-margin-left">
		<div class="zhubiaoti pl10">
			{lang jameson_read:wanjiebang}
		</div>
		<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove">
			{loop $paihangbang['end'] $key $book}
				{if !$key}
				<li class="tuline cl">
					<span class="z mr10 xs3">1</span>
					<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
					<div>
						<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						<p>
						<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
						</p>
					</div>
				</li>
				{elseif $key < 8}
				<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
				{/if}
			{/loop}
		</ul>
	</div>
</div>
{/if}

<!--{if $indexadv[3]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[3]['adv']);}-->
</div>
<!--{/if}-->
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
{subtemplate jameson_read:163/read_footer}